﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MES.Desktop.IDataAccess
{
    public interface IRoleAccess
    {
        string GetRoleByIds(string id_json);

        string GetAllRoles(string key);

        string CheckRoleName(string roleName, int id);

        string Update(string role);

        string Delete(string ids_json);

        string UpdateRoleMenus(string roleMenus_json);

        string UpdateRoleUsers(string roleUsers_json);

        string DeleteRoleUser(int rid, int uid);
    }
}
